System and method for formation detection and evaluation

ABSTRACT

Provided are a system and method for identifying planned markers while drilling a borehole. In one example, the method includes obtaining a plan containing planned markers that each corresponds to a baseline marker from an existing well. Each of the baseline markers corresponds to a waveform from a log file obtained from the existing well and is associated with a waveform representation of the corresponding waveform. Each of the planned markers is associated with an estimated true vertical depth (TVD) value. A second log file corresponding to the borehole is obtained that contains waveforms representing formation information detected within the borehole. The second log file is scanned for a planned marker based on the estimated TVD value and the waveform representation of the baseline marker corresponding to the planned marker. At least one match may be identified and reported for the planned marker.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Ser. No. 61/838,689, filed on Jun. 24, 2013, and entitled SYSTEM AND METHOD FOR FORMATION DETECTION, which is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The following disclosure relates to directional and conventional drilling.

BACKGROUND

Drilling a borehole for the extraction of minerals has become an increasingly complicated operation due to the increased depth and complexity of many boreholes, including the complexity added by directional drilling. Drilling is an expensive operation and errors in drilling add to the cost and, in some cases, drilling errors may permanently lower the output of a well for years into the future. Current technologies and methods do not adequately address the complicated nature of drilling. Accordingly, what is needed are a system and method to improve drilling operations.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding, reference is now made to the following description taken in conjunction with the accompanying Drawings in which:

FIG. 1A illustrates one embodiment of an environment within which various aspects of the present disclosure may be implemented;

FIG. 1B illustrates one embodiment of a drilling system that may be used within the environment of FIG. 1A;

FIG. 1C illustrates one embodiment of a computer system that may be used within the environment of FIG. 1A and/or with the drilling system of FIG. 1B;

FIG. 2 illustrates a flow chart of one embodiment of a method that may be used to create baseline markers, associate the created baseline markers with planned markers, and scan for the planned markers during drilling;

FIG. 3 illustrates a flow chart of one embodiment of a method that may be used to create baseline markers;

FIG. 4 illustrates one embodiment of a log file that may be used by the method of FIG. 3;

FIG. 5 illustrates one embodiment of a baseline marker that may be created from the log file of FIG. 4;

FIG. 6 illustrates one embodiment of a representation of the baseline marker of FIG. 5;

FIG. 7 illustrates a flow chart of one embodiment of a method that may be used to create the representation of FIG. 6;

FIG. 8 illustrates one embodiment of a graphical user interface that may be used to interact with the method of FIG. 4;

FIG. 9 illustrates a flow chart of one embodiment of a method that may be used to create planned markers and associate them with baseline markers;

FIG. 10 illustrates one embodiment of a graphical user interface that may be used to interact with the method of FIG. 9;

FIG. 11 illustrates a flow chart of one embodiment of a method that may be used to parse log data and identify planned markers;

FIG. 12A illustrates a flow chart of one embodiment of a more detailed example of the flow chart of FIG. 11;

FIG. 12B illustrates a flow chart of one embodiment of a more detailed example of one step of the flow chart of FIG. 12A;

FIG. 12C illustrates a flow chart of one embodiment of a more detailed example of one step of the flow chart of FIG. 12A;

FIGS. 13A-13D illustrate diagrams of embodiments of a reference fingerprint and candidate fingerprints that may be obtained from an uncertainty region and compared against the reference fingerprint; and

FIG. 14 illustrates one embodiment of a graphical user interface that may report information from the method of FIG. 11 and/or the method of FIG. 12 and allow a modification to be made.

DETAILED DESCRIPTION

Referring now to the drawings, wherein like reference numbers are used herein to designate like elements throughout, various views and embodiments of a system and method for detecting markers within a formation are illustrated and described, and other possible embodiments are described. The figures are not necessarily drawn to scale, and in some instances the drawings have been exaggerated and/or simplified in places for illustrative purposes only. One of ordinary skill in the art will appreciate the many possible applications and variations based on the following examples of possible embodiments.

Referring to FIG. 1A, one embodiment of an environment 100 is illustrated with a formation 102 having a surface 104. A borehole 106 is to be drilled or is being drilled within the formation 102 by a drilling rig 108. A drilling plan has been formulated to drill the borehole 106 to a true vertical depth (TVD) 110. The borehole 106 is to extend through strata layers 112A, 112B and 114A, 114B, stop in layer 116A, 116B, and not reach underlying layers 118A, 118B and 120A, 120B. Layer boundary 113 separates layers 112A, 112B and 114A, 114B, layer boundary 115 separates layers 114A, 114B and 116A, 116B, layer boundary 117 separates layers 116A, 116B and 118A, 118B, and layer boundary 119 separates layers 118A, 118B and 120A, 120B. A fault 122 has shifted a portion of each layer downwards. Accordingly, the borehole 106 is located in non-shifted layer portions 112A-120A, while portions 112B-120B represent the shifted layer portions. Although not shown, it is understood that the borehole 106 may extend past the fault 122.

The borehole 106 may be directed to a target area 124 positioned in the layer 116A, 116B. The target area 124 may be a subsurface point or points defined by coordinates or other markers that indicate where the borehole 106 is to end or may simply define a depth range within which the borehole 106 is to remain (e.g., the layer 116A, 116B itself). It is understood that the target area 124 may be any shape and size, and may be defined in any way. Accordingly, the target area 124 may represent an endpoint of the borehole 106 or may extend as far as can be realistically drilled. For example, if the drilling includes a horizontal component and the goal is to follow the layer 116A, 116B as far as possible, the target may simply be the layer 116A, 116B itself and drilling may continue until a limit is reached, such as a property boundary or a physical limitation to the length of the drillstring.

One or more existing wells 126 may be present in the environment 100. The existing well 126 may be an offset well or may be another well that is located relatively close to the planned borehole 106. Formation information (e.g., gamma logs) obtained from the well 126 may be used in planning the borehole 106, as well as for purposes of evaluating the drilling plan for the borehole 106 during drilling. It is understood that the location of the well 126 relative to the borehole 106 may affect the relevancy of the formation information obtained from the borehole 106. For example, the depths of the various layer boundaries 113, 115, 117, and 119 vary depending on the location of the well 126. Generally, the closer the well 126 is to the borehole 106, the more correlation there will be in the formation characteristics of the two wells. However, some exceptions may apply, such as two wells on opposite sides of the fault line 122.

In the present embodiment, the formation information includes gamma radiation readings obtained from gamma logs, which provide a record of the radioactivity of earth materials relative to depth. Accordingly, gamma logs may be used to provide some indication as to the current location of the borehole 106 (e.g., the BHA 149 of FIG. 1B) relative to the various layer boundaries 113, 115, and 117 and layers 112A, 112B 114A, 114B, and 116A, 116B, and may also provide information as to the approximate location of the BHA within a particular layer due to variations in radioactivity within the layer itself.

It is understood that while gamma logs containing gamma radiation readings are used for purposes of example, the present disclosure is not limited to gamma logs and other types of information, including formation information and/or drilling operational parameters indicative of changes, may be used in the various embodiments described herein in addition to, or as an alternative to, gamma information. For example, information pertaining to resistivity, porosity, pressure, neutron density, rate of penetration (ROP), and/or mechanical specific energy (MSE) may be used. Generally, the information used needs to provide enough detail to be useful in making real time or near real time adjustments to the drilling plan. Accordingly, the resolution of the information may affect the accuracy of the processes described herein.

Referring to FIG. 1B, an environment 130 illustrates one embodiment of a portion of the environment 100 of FIG. 1A in greater detail. In the present example, the environment 100 includes a derrick 132 on the surface 104. The derrick 132 may be part of the drilling rig 108 of FIG. 1A. The derrick 132 includes a crown block 134. A traveling block 136 is coupled to the crown block 134 via a drilling line 138. In a top drive system (as illustrated), a top drive 140 is coupled to the traveling block 136 and provides the rotational force needed for drilling. A saver sub 142 may sit between the top drive 140 and a drill pipe 144 that is part of a drill string 146. The top drive 140 rotates the drill string 146 via the saver sub 142, which in turn rotates a drill bit 148 of a bottom hole assembly (BHA) 149 in the borehole 106 in the formation 102. A mud pump 152 may direct a fluid mixture (e.g., mud) 153 from a mud pit or other container 154 into the borehole 106. The mud 153 may flow from the mud pump 152 into a discharge line 156 that is coupled to a rotary hose 158 by a standpipe 160. The rotary hose 158 is coupled to the top drive 140, which includes a passage for the mud 153 to flow into the drill string 146 and the borehole 106. A rotary table 162 may be fitted with a master bushing 164 to hold the drill string 146 when the drill string is not rotating.

Sensing, detection, and/or evaluation functionality may be incorporated into a downhole tool 166 (which may be located in one or more positions along the drill string), BHA 149, or may be located elsewhere along the drill string 146. For example, gamma radiation sensors may be included in the downhole tool 166 and/or elsewhere along the drill string 146.

In some embodiments, formation detection and evaluation functionality may be provided via a control system 168 on the surface 104. The control system 168 may be located at the derrick 132 or may be remote from the actual drilling location. For example, the control system 168 may be a system such as is disclosed in U.S. Pat. No. 8,210,283 entitled SYSTEM AND METHOD FOR SURFACE STEERABLE DRILLING, filed on Dec. 22, 2011, and issued on Jul. 3, 2012, which is hereby incorporated by reference in its entirety. Alternatively, the control system 168 may be a stand-alone system or may be incorporated into other systems at the derrick 132. The control system 168 may receive formation information via a wired and/or wireless connection (not shown). In some embodiments, the control system 168 may use the evaluation functionality to provide convergence plans and/or other corrective measures as disclosed in U.S. patent application Ser. No. 13/530,298, now U.S. Pat. No. 8,596,385, entitled SYSTEM AND METHOD FOR DETERMINING INCREMENTAL PROGRESSION BETWEEN SURVEY POINTS WHILE DRILLING, and filed on Jun. 22, 2012, which is hereby incorporated by reference in its entirety. Some or all of the control system 168 may be positioned in the downhole tool 166 or may communicate with a separate controller in the downhole tool 166.

Referring to FIG. 1C, one embodiment of a computer system 180 is illustrated. The computer system 180 is one possible example of a system component or device such as the control system 168 of FIG. 1B or a separate system used to perform the various processes described herein. In scenarios where the computer system 180 is on-site, such as within the environment 100 of FIG. 1A and/or the environment 130 of FIG. 1B, the computer system may be contained in a relatively rugged, shock-resistant case that is hardened for industrial applications and harsh environments. It is understood that downhole electronics may be mounted in an adaptive suspension system or another type of dampening system.

The computer system 180 may include a central processing unit (“CPU”) 182, a memory unit 184, an input/output (“I/O”) device 186, and a network interface 188. The components 182, 184, 186, and 188 are interconnected by a transport system (e.g., a bus) 190. A power supply (PS) 192 may provide power to components of the computer system 180 via a power transport system 194 (shown with data transport system 190, although the power and data transport systems may be separate).

It is understood that the computer system 180 may be differently configured and that each of the listed components may actually represent several different components. For example, the CPU 182 may actually represent a multi-processor or a distributed processing system; the memory unit 184 may include different levels of cache memory, main memory, hard disks, and remote storage locations; the I/O device 186 may include monitors, keyboards, and the like; and the network interface 188 may include one or more network cards providing one or more wired and/or wireless connections to a network 196. Therefore, a wide range of flexibility is anticipated in the configuration of the computer system 180.

The computer system 180 may use any operating system (or multiple operating systems), including various versions of operating systems provided by Microsoft (such as WINDOWS®), APPLE® (such as Mac®, OS X®), UNIX®, and LINUX®, and may include operating systems specifically developed for handheld devices, personal computers, and servers depending on the use of the computer system 180. The operating system, as well as other instructions (e.g., software instructions for performing the functionality described in various embodiments described herein) may be stored in the memory unit 184 and executed by the processor 182. For example, the memory unit 184 may include instructions for performing the various methods and control functions disclosed herein.

The network 196 may be a single network or may represent multiple networks, including networks of different types. For example, the network 196 may include one or more cellular links, data packet networks such as the Internet, local area networks (LANs), and/or wide local area networks (WLAN), and/or Public Switched Telephone Networks (PSTNs). Accordingly, many different network types and configurations may be used to couple the computer system 180 to other components of the environment 100 of FIG. 1A, the environment 130 of FIG. 1B, and/or to other systems not shown (e.g., remote systems).

Referring to FIG. 2, one embodiment of a method 200 illustrates a process that may be used to create baseline markers from formation information obtained from an existing well, associate one or more planned markers in a drilling plan with a baseline marker, identify planned markers from formation information obtained while drilling a new well, and determine whether to modify the drilling plan based on differences between the baseline markers and the planned markers. In the present example, gamma logs have been obtained from the well 126 of FIG. 1A and baseline markers from the gamma logs are used in creating or refining a drilling plan for the borehole 106. The baseline markers may also be used in evaluating the drilling plan during the drilling process.

In step 202, baseline markers are created from gamma logs obtained from the existing well 126. The baseline markers correspond to waveforms representing detected gamma values that are identifiable and distinguishable from surrounding gamma values in the logs. For example, a waveform representing a relatively significant spike in the gamma log that is surrounded by lower level readings may be selected as a baseline marker. It is understood that a baseline marker need not be a particular shape or amplitude, but may be selected at least in part based on its relation to surrounding readings.

The selection process may be performed manually by a geologist or another individual able to identify log information that would make an acceptable baseline marker (e.g., using a computer system to highlight such information and save it as a baseline marker) or may be performed automatically by a computer system. In cases where the computer system automatically identifies and saves baseline markers, a person may verify and/or modify the baseline markers at a later time. Once a particular portion of a log is identified and selected to serve as a baseline marker, the information is saved in a marker archive with corresponding data, such as name, TVD, and shape. In the present embodiment, the marker archive corresponds to the well 126, but it is understood that other storage criteria may be used in categorizing a baseline marker. For example, a baseline marker may be associated with a particular geographic area and/or a formation layer rather than with a particular well.

In step 204, planned markers are created for the drilling plan. Each planned marker is associated with a baseline marker from a marker archive, which in this example is the marker archive of the well 126. It is noted that the marker archive for the well 126 may have been created at some point in the past (e.g., for another well) and may include the original baseline markers, modified baseline markers, and/or added baseline markers. Accordingly, the marker archive may not be fixed, but may be refined over time in some cases. Information for each planned marker is entered, such as estimated TVD and an uncertainty range (e.g., plus or minus thirty feet) that may aid in minimizing or eliminating false positives. For example, if the uncertainty range is plus or minus thirty feet, there will be an uncertainty region of sixty feet. As will be described later, the uncertainty region may be used when scanning for planned markers as the borehole 106 is being drilled. While planned markers are created in step 204 in the present embodiment, it is understood that planned markers may be obtained using different methods in other embodiments, such as retrieving the planned markers from a database or automatically calculating information for a planned marker (e.g., location) as needed.

In step 206, which occurs during drilling until all markers have been processed, gamma logs are obtained and analyzed as further illustrated in sub-steps 208, 210, and 212. For example, in step 208, the gamma logs are scanned for planned markers created in step 204. The gamma logs may be obtained in real time or near real time as the formation information is gathered by downhole sensors and relayed to the surface and the log scanning may also occur in real time or near real time. In step 210, an identified planned marker is reported. This reporting may be done in real time or near real time. The real time or near real time aspect of the information gathering, scanning, and reporting enables differences between the drilling plan and the actual drilled borehole to be identified relatively quickly, thereby minimizing the time needed to correct for errors.

In step 212, a decision may be made to adjust the drilling plan or to let drilling continue without adjustment. For example, if the planned marker is reported as being five feet lower than expected, the report may be reviewed and a decision may be made that no change is needed. However, if the planned marker is reported as being twenty feet lower than expected, the plan may be changed to compensate for this difference. For example, the TVD and/or the bed dip may be modified. It is understood that this is only an example and that many different factors may influence the decision on whether the plan is to be changed after the TVD of a planned marker is identified. This decision may occur relatively quickly following the report in order to correct the drilling plan as soon as an undesirable deviation is detected. Assuming that factors such as the timing of the report, who is monitoring the report, the authority of the person or persons monitoring the report, and the correctional capabilities of the drilling process enable corrections to be made relatively rapidly, the correction may be made before the next planned marker is found.

It is understood that processing a marker in step 206 may include skipping that marker. For example, if a marker is not identified, that marker may be skipped. A marker that coincides with a fault or another geological irregularity may simply not exist or may be so altered as to be unrecognizable. If a marker is not located and yet not skipped, the system would continue looking for that marker and miss the next marker. Such skipping may be automatic (e.g., skip a marker that is not found within fifty feet of its estimated depth) or may be manually controlled (e.g., notify a user that a marker has not been found and let the user decide whether to keep searching for the marker or skip it).

Referring to FIG. 3, one embodiment of a method 300 illustrates a process that may be used to identify suitable baseline markers from an existing well and store those baseline markers for later use. The method 300 may be entirely automatic (e.g., computer controlled) or may be based on user input (e.g., the selection of particular waveforms).

In step 302, information is identified from a log (e.g., a gamma log from the well 126 of FIG. 1A) that meets one or more criteria for a baseline marker. The criteria may include a minimum width and/or relative amplitude for a gamma spike, shape limitations (e.g., a spike may need to be relatively sharp rather than a gentle slope), or may need to be a shape that is readily distinguishable from other shapes. It is understood that the criteria may be relative in that a particular spike may be suitable as a baseline marker in one part of the log, but not in another part of the log. For example, a spike that is in close proximity to one or more other spikes of similar amplitude may not be suitable for a baseline marker, but a spike that is relatively isolated and/or has a significantly larger magnitude may be suitable.

With additional reference to FIG. 4, one embodiment of a portion of a gamma log 402 is illustrated. The gamma log 402 includes a graph 404 that visually illustrates a series of gamma readings using line 406 to represent gamma radiation values and corresponding depths. In the present example, a portion 408 of the gamma log 402 has been highlighted for use as a baseline marker, as will be described with respect to the next step of FIG. 3.

Referring again to FIG. 3, in step 304, a baseline marker is created from the selected portion of the gamma log. For example, referring to FIG. 5, one embodiment of a chart 502 provides a representation of a baseline marker 504. The baseline marker 504 is shown against an axis representing the gamma value and an axis representing the distance (e.g., width) of the baseline marker 504. It is understood that this information is derived from the gamma log 402 of FIG. 4, with the width being calculated based on the depth at which the particular points of the baseline marker 504 appear on the gamma log 402. It is further understood that the baseline marker 504 may be an exact match of the waveform from the gamma log 402 or may be a waveform representation (e.g., may be based on the waveform but not an exact representation).

With additional reference to FIGS. 6 and 7, embodiments of a diagram 600 (FIG. 6) and method 700 (FIG. 7) illustrate a waveform representation of a baseline marker (e.g., the baseline marker 504 of FIG. 5) and how such a waveform representation may be constructed. It is understood that the waveform representation is one example of a mathematical representation (e.g., a fingerprint) of the baseline marker 504. It is further understood that this is only one example of how fingerprinting may occur for a baseline marker and that many other representations may be used. In addition, while described with respect to the method 300 of FIG. 3, it is understood that the representation may be constructed as part of one or more other processes, such as during the creation of fingerprints for new wells as will be described later.

As illustrated in FIG. 6, in the present example, the waveform representation includes a line 602 that represents the left side average of the baseline marker 504. A line 604 represents the peak height relative to the left side average. A line 606 represents the right side average relative to the left side average. A line 608 represents the width of the baseline marker. The width may vary based on the portion of the gamma log selected as the baseline marker 504. The position of the line 604 with respect to the line 608 represents the location of the peak index relative to the width of the baseline marker. It is understood that this waveform representation is primarily constructed using relative values to meet the challenge of identifying a planned marker even when changes have occurred in amplitude, width, shape, and/or other characteristics.

In general, measured amplitudes may be handled carefully due to differences in sensors. For example, a comparison between the recorded amplitude of a baseline marker and the recorded amplitude of a planned marker cannot be relied upon when the gamma radiation sensors are not calibrated relative to one another. Accordingly, while amplitude may be used in the selection of baseline markers and the later comparison of baseline markers and planned markers, the present disclosure generally uses relative amplitude (e.g., relative to the left side average) rather than absolute amplitude. In embodiments where the sensors are known to be calibrated relative to one another and/or where the recorded sensor results can be adjusted to account for sensor differences, absolute amplitude may be relied upon more heavily.

It is understood that a waveform representation may have many different characteristics. For example, a multi-peak waveform representation may be used (with or without averaging the peaks). This may be particularly useful in build and lateral sections of the borehole where the waveform is rotated rather than being vertical. This may also be useful when the log file can be read in two directions (e.g., forward and backward) as having at least two peaks to read may provide insight into which direction the log file is being read since the order in which the peaks are identified will be different depending on the direction in which the log file is read.

While the present disclosure is described using vertical sections of the borehole 106, it is understood that the concepts described herein may also be applied to horizontal and build sections. Although some differences may exist between vertical, horizontal, and build sections, the basic process of using baseline markers and planned markers to assess the accuracy of drilling in real time or near real time and to make corrections if needed remains the same.

As illustrated in FIG. 7, the method 700 may be used to construct the waveform representation of FIG. 6. In step 702, the left side average is calculated. It is understood that the left side average may be used because the gamma log generally follows a pattern of descending depth. This means that the left part of the log(e.g., the “top” of the log representing shallower depths) will be scanned first during real time or near real time scanning. Accordingly, the first part of a baseline marker to be scanned will typically be the left side of the baseline marker. It is understood that this process may be performed differently (e.g., scanning from right to left) and would still be covered by the current description, but scanning from left to right (e.g., shallower depths to deeper depths) is the general process used for this example.

The left side average may be calculated in many ways. For example, the left side average may be a single average value from the left side of the marker to the peak. In other embodiments, there may be multiple averages. For example, a stair step or multi-peak average may be used. The right side average may be calculated in the same way as the left side average or in a different way. Furthermore, the averaging process may vary depending on the particular shape and/or width of the portion of the waveform being averaged.

In step 704, the peak height and the right side average are calculated relative to the left side average. For example, continuing the example of FIG. 5, the left side average may be a gamma reading of 100. The peak height is 135 and the right side value is 80. The peak height relative to the left side average would be 1.35. The right side average relative to the left side would be 0.80.

In step 706, the width of the baseline marker is calculated and the location of the peak height relative to the width is calculated. The width may be calculated by subtracting the TVD of the right side from the TVD of the left side. The location of the peak height may then be identified. For example, if the width is forty-one feet, the location of the peak can be calculated as whatever value matches the location of the peak height. It is noted that the use of relative values and averages enables a possible match between two waveforms to be described in terms of a percentage, as an exact match is unlikely to occur. For example, the use of relative values addresses discrepancies that might otherwise exist between two waveforms due to sensors not being calibrated with respect to one another, as well as formation to formation discrepancies. A more detailed example of this process is discussed later.

Referring again to FIG. 3, in step 306, the baseline marker and corresponding information (e.g., name and waveform representation (as the actual waveform and/or as calculated representation values) are stored in the baseline marker archive corresponding to the well with which the gamma log is associated. In step 308, a determination may be made as to whether the method 300 has finished (e.g., whether additional baseline markers are to be selected from the gamma log). If the determination indicates that the method 300 is not finished, the method returns to step 302. If the determination indicates that the method 300 is finished, the method ends.

Referring to FIG. 8, one embodiment of a GUI 800 illustrates an interface that may be used to retrieve a log file and add, edit, or delete baseline markers. It is understood that the GUI 800 is for purposes of example and that many different GUIs may be used to provide some or all of the functionality shown with the GUI 800. In the present example, the GUI 800 includes a file selection panel 802, a marker selection panel 804, a quality display panel 806, and a gamma log panel 808.

In operation, a user may create or edit a marker archive file using section 802. In the present example, the marker archive file is “Offset Well 126 archive.txt,” which corresponds to the offset well 126 of FIG. 1A. A corresponding offset well may be associated with the offset well if that has not already been done. The user may then highlight (e.g., using a mouse, keyboard, and/or other interfaces) one or more sections of the gamma log. As these are highlighted, they are added to the marker selection panel 804. For example, the illustrated portion of the gamma log includes four selected portions 810, 812, 814, and 816. The marker selection panel 804 illustrates eight markers 818, 820, 822, 824, 826, 828, 830, and 832, each of which has a name, a start depth, and an end depth. The start depth and end depth may be automatically entered based on the corresponding selected portion. For purposes of illustration, the selected portion 810 corresponds to marker 820, the selected portion 812 corresponds to marker 822, the selected portion 814 corresponds to marker 824, and the selected portion 816 corresponds to marker 826.

The quality display panel 806 contains quality indicators that illustrate a quality level of the currently selected marker. The quality level represents the strength of the selected marker. For example, the quality display panel 806 may include a graph that illustrates a qualitative analysis of the difference between the right side average and the left side average, as well as the difference between the left side average and the peak. The selected widths are also illustrated. Using this feedback, a user can select the marker differently to strengthen these attributes.

In the present example, the quality display panel 806 plots left, right, and peak values against a vertical axis measured in API (the unit of radioactivity used for gamma logs) and a horizontal axis measured in width. The width may be represented as TVD in some embodiments. It is noted that in offset logs, the TVD generally equals the measured depth unless the log is a TVD converted log. A messages section may be used to comment on the quality of the currently selected marker. For example, the current message indicates that the peak value is small relative to the left side value.

Accordingly, using the GUI 800, a user can scroll through a gamma log, select portions of the gamma log, and save those portions as baseline markers. In addition, previously saved baseline markers can be edited or deleted.

Referring to FIG. 9, one embodiment of a method 900 illustrates a process that may be used to create planned markers for a drilling plan for a new well and associate each planned marker with a corresponding baseline marker from an existing well. For example, using the environment 100 of FIG. 1A, a drilling plan is being created or revised for the borehole 106. Baseline markers have been created for the offset well 126 and those baseline markers are available for use in the planning of the borehole 106. While there may be variations between the baseline markers and the planned markers once the planned markers are actually located in the borehole 106 (e.g., differences in TVD, gamma levels, and/or shape) due to differences between the two locations within the formation 102, the baseline markers provide at least some knowledge of where the planned markers may appear.

In step 902, a marker name is created for a new planned marker. In step 904, the planned marker is associated with a baseline marker from the marker archive of the offset well 126. For example, assume that a planned marker will likely occur at the layer boundary 113. This planned marker may then be associated with a baseline marker from the offset well 126 that is located at the layer boundary 113.

In step 906, an estimated depth, an uncertainty region, and an expected vertical section may be provided for the planned marker (e.g., entered or imported from a database or other memory). The estimated depth may be based on other information, such as general knowledge of the formation 102 (e.g., whether the boundary layer 113 is level, rising, or falling between the offset well and the planned borehole 106). It is understood that such information may be gathered from other offset wells, other wells, and/or other types of survey information, and may be gathered both locally and over a relatively large region. For example, databases that may contain such information are described previously incorporated U.S. Pat. No. 8,210,283 entitled SYSTEM AND METHOD FOR SURFACE STEERABLE DRILLING.

The uncertainty region provides an estimated region in which the planned marker may be found (e.g., plus or minus twenty feet). The expected vertical section provides a reference to the drilling plan and more specifically identifies a particular vertical section of the plan in which the planned marker is likely to be located. It is understood that more or less information may be provided. For example, the expected vertical section may be omitted in some embodiments.

Further adjustments may be made if needed. For example, if the waveform representation is calculated based on the appearance of a waveform in a vertical section, but it is estimated that the marker will be identified in a build section in the current borehole, then the waveform representation must likely be modified or it will be missed. Accordingly, compensations may be made based on factors such as where a particular waveform representation is expected to be located in the current borehole.

In step 908, a determination may be made as to whether the process has finished (e.g., whether there are more planned markers to create). If the process is not finished, the method 900 returns to step 902. If the process is finished, the method 900 ends.

Referring to FIG. 10, one embodiment of a GUI 1000 illustrates an interface that may be used to create and/or edit planned markers for a drilling plan. It is understood that the GUI 1000 is for purposes of example and that many different GUIs may be used to provide some or all of the functionality shown with the GUI 1000. In the present example, the GUI 1000 includes a geo plan selection panel 1002, a geo plan parameters panel 1004, and a well plan selection panel 1006.

In operation, a user may create or edit a geo plan for the borehole 106 via text box 1008 and associated control buttons. In the present example, the geo plan is named “Current Well Geo Plan Full.txt.” The user may also select a marker archive as illustrated by text box 1010. In the present example, the marker archive is the “Offset Well 126 archive.txt” described with respect to FIG. 8. A formation dip angle may be entered in text box 1012. In some embodiments, a dip angle may be suggested for the user based on identified trends, current/next markers, and/or similar factors. A well plan may be selected from the well plan selection panel 1006 from any of multiple sources, such as a Log ASCII Standard (LAS) file, a global database, or a local database. It is understood that the geo plan, marker archive, and/or well plan may be pulled from storage, either local or online (e.g., from a remotely accessible database or a server cloud).

For purpose of example, the geo plan parameters panel 1004 illustrates eight planned markers 1014, 1016, 1018, 1020, 1022, 1024, 1026, and 1028. Each planned marker corresponds to one of the baseline markers 818, 820, 822, 824, 826, 828, 830, and 832 of FIG. 8, with planned marker 1014 corresponding to baseline marker 818, planned marker 1016 corresponding to baseline marker 820, planned marker 1018 corresponding to baseline marker 822, planned marker 1020 corresponding to baseline marker 824, planned marker 1022 corresponding to baseline marker 826, planned marker 1024 corresponding to baseline marker 828, planned marker 1026 corresponding to baseline marker 830, and planned marker 1028 corresponding to baseline marker 832.

Each planned marker 1014, 1016, 1018, 1020, 1022, 1024, 1026, and 1028 is also associated with an estimated TVD, an uncertainty range, and an estimated vertical section. For example, the planned marker 1022 has been assigned an estimated TVD of 8179 feet with an uncertainty range of plus or minus twelve feet. It is expected to appear in vertical section five hundred and fifteen of the drilling plan. Accordingly, using the corresponding baseline marker 826 of FIG. 8 taken from the portion 816, a gamma log of the borehole 106 may be scanned to find the planned marker 1022. It is noted that the estimated vertical section is not needed if the log is converted to Kelly bushing TVD (KBTVD) references.

The estimated TVD, uncertainty range, and/or the estimated vertical section may provide benchmarks for determining the accuracy of the well plan and/or may be used to focus more detailed scanning on a particular section. For example, rather than scan each foot (or whatever resolution is selected) for a fingerprint, the system may skip or more rapidly scan portions of the gamma log that are unlikely to contain planned markers and focus on portions of the gamma log more likely to contain such markers.

Referring to FIG. 11, one embodiment of a method 1100 illustrates a process that may be used to scan a log for planned markers. In the present example, the log is a gamma log from the borehole 106 of FIG. 1A, but it is understood that other types of logs may be used.

In step 1102, log data collected as the borehole 106 is drilled is parsed. The parsing may be performed in many different ways, including scanning the log file at each foot or using another defined resolution increment, scanning for an uncertainty section, scanning for a vertical section, and/or scanning using other parameters. For example, scanning for the planned marker 1022 (FIG. 10) may involve rapidly scanning to 8167 feet (i.e., the planned TVD of 8179 minus the uncertainty range of twelve feet) and then examining the log file more closely for the planned marker. In step 1104, the best fingerprint match for the planned marker is identified for the uncertainty region. For example, there may be multiple matches or at least multiple possible matches, and the method 1100 may select the best match.

In step 1106, a determination may be made as to whether the process has finished (e.g., whether more markers remain to be found). If the process is not finished, the method 1100 returns to step 1102. If the process is finished, the method 1100 ends.

Referring to FIG. 12A, one embodiment of a method 1200 illustrates a more detailed example of the method 1100 of FIG. 11. In step 1202, log data is parsed to identify an uncertainty region. In step 1204, a determination may be made as to whether an uncertainty region has been found. If no uncertainty region has been found, the method 1200 returns to step 1202. If an uncertainty region has been found, the method 1200 continues to step 1205. In step 1205, weights are assigned to the planned marker.

In step 1206, a fingerprint is made of the current window of the uncertainty region. For example, if the planned marker is twenty feet wide, the current window may be a twenty foot window. The system would make a fingerprint of this window (as described previously).

In step 1208, the fingerprint of the current window is compared to the planned marker's fingerprint. In step 1210, a confidence value is calculated based on the comparison of step 1208. In step 1212, a determination is made as to whether the current fingerprint is a new candidate based on the TVD location of the peak. If the current fingerprint is a new candidate, the method 1200 adds the candidate to a list of candidates in step 1214 before moving to step 1216. If the current fingerprint is not a new candidate, the method 1200 continues to step 1216 without adding to the candidate list.

In step 1216, a determination may be made as to whether the method 1200 is done with the current uncertainty region. If the method 1200 is not done with the uncertainty region, the method 1200 increments the window in step 1218 and returns to step 1206. For example, if the window has a one foot resolution, the window's position will be incremented by one foot (e.g., the window will move forward one foot). If the method 1200 is done with the uncertainty region, the method 1200 moves to step 1220, where the list of candidates may be reported. This enables a user to review and select a best match from all possible candidates. In some embodiments, the list may be ranked based on the level of confidence and/or other criteria.

In step 1222, a determination may be made as to whether the process has finished (e.g., whether more of the log is to be scanned). If the process is not finished, the method 1200 returns to step 1202. If the process is finished, the method 1200 ends.

Referring to FIG. 12B, a more detailed embodiment of step 1205 of FIG. 12A is illustrated. As described previously, the best match between a reference marker and the current window in the active gamma log is needed. To accomplish this, a fingerprint matching process is used to turn gamma samples into fingerprints to improve the matching success rate. This is expressed as a multistep approach in FIG. 12B as follows.

The fingerprint matching process compares attributes between two fingerprints (e.g., a reference fingerprint and a candidate fingerprint) and produces a score based on the comparison. The fingerprint matching process considers three primary attributes in the comparison of fingerprints and provides their relative weights in the final score as follows:

PIW: 0.5 PRD: 0.2 RRD: 0.3 where PIW=peak index weight, PRD=peak relative distance, and RRD=right relative distance. It is understood that other values may be used for relative weighting and the provided values are only for purposes of example. Prior to scanning an uncertainty region, the fingerprint matching process saves the relative weights of the reference fingerprint.

In step 1230, the weight is set for the position of the peak relative to the width. For example, if a fingerprint has a width of ten (10) and the peak is in index five (5), then the highest match will occur if a sample has its peak at index five. Each index location further from the peak index will have a lower factor (e.g., indexes 4, 3, 2, and 1 would have successively lower factor values). This is expressed as follows: lc=max(rc,ltc)  (Equation 1) pif_(ref)=100.0−(lc+1)  (Equation 2) where lc=largest count, rc=right count, ltc=left count, and pif_(ref)=peak index factor of the reference fingerprint.

In step 1232, the weight is set for the height of the peak relative to the left side average. For example, if the left average is 80 API and the peak is 120 API, then the peak relative distance is 0.5. This is expressed as prd_(ref)=(pd/la)−1.0  (Equation 3) where prd_(ref)=peak relative distance of the reference fingerprint, pd=peak distance of the relative fingerprint, and la=left side average of the relative fingerprint.

In step 1234, the weight is set for the ratio of the right side average relative to the left side. For example, if the left average is 80 API and the right average is 60 API, then the right relative distance is −0.25. This is expressed as rrd_(ref)=(ra/la)−1.0  (Equation 4) where ra=right side average of the reference fingerprint and rrd_(ref)=right side relative distance to the left side average of the reference fingerprint.

Referring to FIG. 12C, a more detailed embodiment of step 1208 of FIG. 12A is illustrated. When a candidate fingerprint (also referred to herein as a “current” fingerprint) is created from the current window of gamma data in the uncertainty region, a score is computed when the candidate fingerprint is compared against the reference fingerprint. To compute the score, the fingerprint matching process must first determine the match value of each attribute of the candidate fingerprint. This is expressed as a multistep approach in FIG. 12C as follows.

In step 1240, the current peak index factor (pif_(cur)) as compared against the reference (pif_(ref)) is calculated, which is expressed as pif_(cur)=100.0−abs(pcl_(cur)−pcl_(ref))*mif_(ref)  (Equation 5) where pif_(cur)=peak index factor of the current fingerprint and pcl_(cur)=peak count location of the current fingerprint.

In step 1242, the current peak relative distance factor as compared against the reference (prd_(ref)) is calculated, which is expressed as prf_(cur)=min(100.0,(prd_(cur)−1.0)/prd_(ref))*100.0)  (Equation 6) where prf_(cur)=peak relative factor of the current fingerprint and prd_(cur)=peak relative distance to the left side average of the current fingerprint.

In step 1244, the current right relative factor is calculated, which is expressed as rrf_(cur)=((rrd_(cur)−1.0)/rrd_(ref))*100.0  (Equation 7) where rrf_(cur)=right relative factor of the current fingerprint and rrd_(cur)=right relative distance to the left side average of the current fingerprint.

Referring again to FIG. 12A, in step 1210, the overall score can now be calculated as: score=(PIW*pif_(cur))+(PRD*prf_(cur))+(RRD*rrf_(cur))  (Equation 8)

As described previously, the fingerprint matching process calculates a score for each increment of an uncertainty region. When the process completes the uncertainty region, the scores are ranked and a list of candidates is provided to a user. The ranking may use any criteria, but the scores are ranked with the highest score listed first for purposes of example.

Referring to FIGS. 13A-13C, an embodiment of a process for searching for a reference fingerprint in an uncertainty region is illustrated visually. It is understood that FIGS. 13A-13C are not necessarily drawn to scale, but are provided to visually illustrate the overall process of comparing candidate fingerprints against reference fingerprints.

A reference waveform representation 1300 (FIG. 13A) is broken down into basic elements that form a reference fingerprint 1302 (FIG. 13B). As described with respect to FIG. 6, the reference fingerprint 1302 may be broken down into particular parts, such as a width 1304, a left side average 1306, a right side average 1308, and a peak 1310 that has height and index attributes. These parts and corresponding calculations have been described in detail above and are not described in the present example.

As illustrated in FIG. 13B, from a visual perspective, the left side average 1306 is relatively high compared to the right side average 1308. The peak index is approximately at the midpoint of the width 1304. These components describe the reference fingerprint 1302 for which an uncertainty region will be scanned.

As illustrated in FIG. 13C, a waveform 1312 (e.g., from a gamma log) falls within an uncertainty region 1314. The width of the uncertainty region 1314 is greater than the width of the reference fingerprint 1302 and so multiple search windows will be scanned to try to identify the reference fingerprint 1302. In the present example, the search windows begin with a search window 1316 at depth “1”, include a search window 1318 at depth “2” and a search window 1320 at depth “m”, and end with a search window 1322 at depth “n”. Other search windows may be included based on the size of the uncertainty region and the width of the reference fingerprint 1302. It is understood that the depth may be the actual depth (e.g., 7232 feet) or may be an index based on the uncertainty region 1314 (e.g., the first search window in the uncertainty region) or another baseline.

As illustrated in FIG. 13D, the search window 1316 corresponds to a candidate fingerprint 1324, the search window 1318 corresponds to a candidate fingerprint 1326, the search window 1320 corresponds to a candidate fingerprint 1328, and the search window 1322 corresponds to a candidate fingerprint 1330.

From a visual perspective, the candidate fingerprint 1324 has a left side average that is relatively long compared to the right side average. Furthermore, the right side average is higher than the left side average. The peak is relatively low and the peak index is shifted towards the right side. When compared to the reference fingerprint 1302, the differences are significant. For purposes of example, the candidate fingerprint 1324 is assigned a score of ten out of one hundred.

The candidate fingerprint 1326 has a left side average that is relatively long compared to the right side average, but shorter than that of the candidate fingerprint 1324. The right side average is higher than the left side average. The peak is relatively low and peak index is shifted towards the right side, but less than the shift in the candidate fingerprint 1324. When compared to the reference fingerprint 1302, the differences are significant. For purposes of example, the candidate fingerprint 1326 is assigned a score of fifteen.

The candidate fingerprint 1328 has a left side average that is relatively equal in length to the right side average. The right side average is significantly lower than the left side average. The peak is higher than the peaks of the candidate fingerprints 1324 and 1326 and is relatively centered. When compared to the reference fingerprint 1302, the similarities are significant. For purposes of example, the candidate fingerprint 1328 is assigned a score of ninety-five.

The candidate fingerprint 1330 has a left side average that is short compared to the right side average. The right side average is significantly lower than the left side average. The peak is lower than the peak of the candidate fingerprint 1328 and similar to the peaks of the candidate fingerprints 1324 and 1326. The peak index is relatively far to the left. When compared to the reference fingerprint 1302, the similarities are significant, although less significant than those of the candidate fingerprint 1328. For purposes of example, the candidate fingerprint 1330 is assigned a score of eighty.

For purposes of example, all other scores for candidate fingerprints within the uncertainty region 1314 are less than eighty and greater than fifteen. The scores may be sent as a ranked candidate list as shown in Table 1 below with a higher score indicating a better match.

TABLE 1 Candidate list Depth Score m 95 n 80

2 15 1 10

Referring to FIG. 14, one embodiment of a GUI 1400 illustrates an interface that may be used to provide reporting information on a possible match and to present options for modifying the drilling plan. It is understood that the GUI 1400 is for purposes of example and that many different GUIs may be used to provide some or all of the functionality shown with the GUI 1400. In the present example, the GUI 1400 includes a results panel 1402 that may stand alone or may be part of another GUI.

In the present example, a potential match 1404 for Planned Marker 5 (e.g., marker 1022 of FIG. 10) has been identified with ninety-four percent of the conditions for a match being met. Information from the log may be provided, including measured depth (MD), TVD, inclination (INC), and vertical section. Continuing the example of FIG. 5, the planned marker 1022 had an estimated depth of 8179 feet and estimated vertical section 515. As reported from the log, the possible match 1404 has a TVD of 8193 feet. Accordingly, while at the correct TVD, the possible match is fourteen feet lower than the plan.

The results panel 1402 may present a user with various options, including options 1406, 1408, and 1410. Option 1406 is to continue searching for the next marker without any changes. Option 1408 is to continue to the next marker, but with a change in dip as defined in text box 1412. Option 1410 is to continue to the next marker, but with an adjustment to the next planned marker's estimated TVD as defined in text box 1414. In the current example, option 1410 has been selected and the estimated TVD for the next marker (e.g., planned marker 6) will be adjusted downward by fourteen feet. It is understood that the adjustments of options 1408 and 1410 may affect the remainder of the drilling plan or may be limited (e.g., may only affect a defined number of markers).

It will be appreciated by those skilled in the art having the benefit of this disclosure that this system and method for formation detection and evaluation provides an improved process for assessing the accuracy of a drilling plan during drilling and for modifying the plan based on the assessment if needed. It should be understood that the drawings and detailed description herein are to be regarded in an illustrative rather than a restrictive manner, and are not intended to be limiting to the particular forms and examples disclosed. On the contrary, included are any further modifications, changes, rearrangements, substitutions, alternatives, design choices, and embodiments apparent to those of ordinary skill in the art, without departing from the spirit and scope hereof, as defined by the following claims. Thus, it is intended that the following claims be interpreted to embrace all such further modifications, changes, rearrangements, substitutions, alternatives, design choices, and embodiments. 

What is claimed is:
 1. A method for using a plurality of planned markers with a drilling plan comprising: obtaining, by a computer system, a marker archive containing a plurality of baseline markers from at least one existing well, wherein each of the baseline markers corresponds to a waveform from a first log file obtained from the first well, and wherein each of the baseline markers is associated within the marker archive with a name, a true vertical depth (TVD) value of the corresponding waveform, and a waveform representation of the corresponding waveform; creating, by the computer system, a plurality of planned markers for a drilling plan for a second well; associating, by the computer system, each of the plurality of planned markers with one of the baseline markers; assigning, by the computer system, an estimated TVD value and an uncertainty range to each of the planned markers; and saving, by the computer system, each of the planned markers.
 2. The method of claim 1 wherein associating each of the baseline markers with the waveform representation of the corresponding waveform includes making an exact copy of the corresponding waveform, wherein the exact copy is the waveform representation.
 3. The method of claim 1 wherein the first log file is a gamma log.
 4. The method of claim 1 further comprising: drilling a portion of the second well using the drilling plan; and assessing an accuracy of the drilling plan based on comparisons between the estimated TVD values of the planned markers and measured TVD values of the planned markers identified from a second log file obtained while drilling the second well.
 5. The method of claim 1 wherein associating each of the baseline markers with the waveform representation of the corresponding waveform includes constructing a mathematical representation of the corresponding waveform, wherein the mathematical representation is the waveform representation.
 6. The method of claim 5 wherein constructing the mathematical representation comprises: calculating a left side average of the corresponding waveform; calculating a peak height of the corresponding waveform relative to the left side average; calculating a right side average of the corresponding waveform relative to the left side average; calculating a width of the corresponding waveform; and calculating a location of the peak height relative to the width.
 7. The method of claim 1 further comprising: obtaining a second log file during drilling of the second well; scanning the second log file to identify a first planned marker of the plurality of planned markers, wherein the first planned marker corresponds to a first baseline marker of the plurality of baseline markers; identifying a measured TVD value of the first planned marker from the second log file; comparing the measured TVD value with the estimated TVD value of the first planned marker to obtain a comparison result; and reporting the comparison result.
 8. The method of claim 7 further comprising adjusting a dip angle of the drill plan between the first planned marker and a next sequential planned marker of the plurality of planned markers based on the comparison result.
 9. The method of claim 7 further comprising adjusting the estimated TVD of a next sequential planned marker following the first planned marker based on the comparison result.
 10. The method of claim 7 wherein scanning the second log file to identify the first planned marker further comprises: identifying the uncertainty range of the first planned marker in the second log file based on the estimated TVD value of the first planned marker; creating at least one fingerprint of a waveform within the uncertainty range; and determining whether the at least one fingerprint matches the waveform representation.
 11. The method of claim 10 wherein determining whether the at least one fingerprint matches the waveform representation includes: comparing a left side average of the fingerprint with a left side average of the waveform representation; comparing a right side average of the fingerprint with a right side average of the waveform representation; comparing a peak height of the fingerprint with a peak height of the waveform representation; comparing a peak location of the fingerprint with a peak location of the waveform representation; and calculating a score based on the comparisons of the left side averages, the right side averages, the peak heights, and the peak locations.
 12. The method of claim 10 wherein the waveform representation and the fingerprint both use a relative amplitude value.
 13. A method for identifying a planned marker while drilling a borehole through a formation for a first well comprising: obtaining, by a computer system, a plan containing a plurality of planned markers expected while drilling the borehole, wherein each of the planned markers corresponds to a baseline marker from an existing second well, wherein each of the baseline markers corresponds to a waveform from a first log file obtained from the second well and is associated with a waveform representation of the corresponding waveform, and wherein each of the planned markers is associated with an estimated true vertical depth (TVD) value and an uncertainty range; obtaining, by the computer system, a second log file corresponding to the borehole, wherein the second log file contains a plurality of waveforms representing formation information detected within the borehole and includes formation information to a TVD that includes at least a portion of the uncertainty region of a first planned marker of the plurality of planned markers; scanning, by the computer system, the second log file for the first planned marker based on the estimated TVD value of the first planned marker, the uncertainty range of the first planned marker, and the waveform representation of the baseline marker corresponding to the first planned marker; identifying, by the computer system, at least one match for the first planned marker; and reporting, by the computer system, the at least one match.
 14. The method of claim 13 wherein the first log file and the second log file are gamma logs.
 15. The method of claim 13 wherein reporting the at least one match includes reporting a confidence value.
 16. The method of claim 13 wherein each of the planned markers is further associated with a planned vertical section of the borehole, and wherein reporting the at least one match includes reporting a vertical section in which the match was found.
 17. The method of claim 13 wherein scanning the second log file comprises: identifying the uncertainty range of the first planned marker in the second log file based on the estimated TVD value of the first planned marker; creating at least one fingerprint of a detected waveform within the uncertainty range; and determining whether the at least one fingerprint matches the waveform representation of the baseline marker corresponding to the first planned marker.
 18. The method of claim 17 wherein the waveform representation of the baseline marker corresponding to the first planned marker is constructed with a relative amplitude and wherein creating the fingerprint includes constructing a representation of the fingerprint having a relative amplitude.
 19. The method of claim 17 further comprising: creating a plurality of fingerprints for a plurality of detected waveforms within the uncertainty range; identifying one of the plurality of fingerprints as a best match to the waveform representation; and reporting the identified best match.
 20. The method of claim 17 wherein determining whether the at least one fingerprint matches the waveform representation of the baseline marker corresponding to the first planned marker includes: comparing a left side average of the fingerprint with a left side average of the waveform representation; comparing a right side average of the fingerprint with a right side average of the waveform representation; comparing a peak height of the fingerprint with a peak height of the waveform representation; comparing a peak location of the fingerprint with a peak location of the waveform representation; and calculating a score based on the comparisons of the left side averages, the right side averages, the peak heights, and the peak locations.
 21. The method of claim 13 further comprising: obtaining an updated version of the second log file; and repeating the steps of scanning, identifying, and reporting for a second planned marker of the plurality of planned markers based on the second log file after identifying the at least one match.
 22. The method of claim 21 further comprising: receiving instructions to modify the plan after reporting the at least one match; and creating a modified plan as indicated in the instructions prior to repeating the steps of scanning, identifying, and reporting for the second planned marker.
 23. The method of claim 22 wherein the instructions indicate that a dip angle of the borehole is to be modified.
 24. The method of claim 22 wherein the instructions indicate that the estimated TVD of the second planned marker is to be modified.
 25. The method of claim 22 further comprising drilling a portion of the second well using the modified plan.
 26. A system comprising: a network interface; a processor coupled to the network interface; a memory coupled to the processor and configured to store a plurality of instructions executable by the processor, the instructions including instructions for: obtaining, by a computer system, a plan containing a plurality of planned markers expected while drilling a borehole through a formation for a first well, wherein each of the planned markers corresponds to a baseline marker from an existing second well, wherein each of the baseline markers corresponds to a waveform from a first log file obtained from the second well and is associated with a waveform representation of the corresponding waveform, and wherein each of the planned markers is associated with an estimated true vertical depth (TVD) value and an uncertainty range; obtaining a second log file corresponding to the borehole, wherein the second log file contains a plurality of waveforms representing formation information detected within the borehole and includes formation information to a TVD that includes at least a portion of the uncertainty region of a first planned marker of the plurality of planned markers; scanning the second log file for the first planned marker based on the estimated TVD value of the first planned marker, the uncertainty range of the first planned marker, and the waveform representation of the baseline marker corresponding to the first planned marker; identifying at least one match for the first planned marker; and reporting the at least one match.
 27. The system of claim 26 wherein the instructions for scanning the second log file comprise: identifying the uncertainty range of the first planned marker in the second log file based on the estimated TVD value of the first planned marker; creating at least one fingerprint of a detected waveform within the uncertainty range; and determining whether the at least one fingerprint matches the waveform representation of the baseline marker corresponding to the first planned marker.
 28. The system of claim 27 wherein the instructions for scanning the second log file comprise: calculating at least one left side average of the detected waveform; calculating at least one peak height of the detected waveform relative to the left side average; calculating at least one right side average of the detected waveform relative to the left side average; calculating at least one width of the detected waveform; and calculating at least one location of the peak height relative to the width.
 29. The system of claim 27 wherein the instructions further include instructions for: receiving a modification to the plan after reporting the at least one match; obtaining an updated version of the second log file; and modifying the plan as indicated prior to repeating the steps of scanning, identifying, and reporting for a second planned marker based on the second log file after identifying the at least one match.
 30. The method of claim 29 further comprising drilling a portion of the second well using the modified plan. 